﻿<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Collections" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="TarreOA.TarreOABLL" %>
<%@ Import Namespace="TarreOA.TarreOAModels  " %>

<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request["cgLmid"] != null)
        {
            int cgLmid = int.Parse(Request["cgLmid"]);
            UserCommunicationGroupLinkMantbService ucgLinkMantbService = new UserCommunicationGroupLinkMantbService();
            UserCommunicationGroupLinkMantb ucgLinkMan = ucgLinkMantbService.findByGroupLinkManId(cgLmid);
            if (ucgLinkMan != null)
            {
                this.TxtGroupName.Text = ucgLinkMan.ComGroup.ComGroupName;
                this.TxtName.Text = ucgLinkMan.GroupLinkManName;
                this.Title = ucgLinkMan.GroupLinkManName + "的详细信息";
                this.TxtLinkManSec.Text = ucgLinkMan.GroupLinkManSec == 0 ? "男" : "女";
                this.TxtBirthday.Text = ucgLinkMan.GroupLinkManBirthday.ToShortDateString();
                this.TxtName2.Text = ucgLinkMan.GroupLinkManName2;
                this.TxtDuty.Text = ucgLinkMan.GroupLinkManDuty;
                this.TxtUnitName.Text = ucgLinkMan.GroupLinkManUnitName;
                this.TxtUnitAddress.Text = ucgLinkMan.GroupLinkManUnitAddress;
                this.TxtUnitTelephone.Text = ucgLinkMan.GroupLinkManUnitTelephone;
                this.TxtUnitFacsimile.Text = ucgLinkMan.GroupLinkManUnitFacsimile;
                this.TxtFamilyAddress.Text = ucgLinkMan.GroupLinkManHomeAddress;
                this.TxtFamilyTelephone.Text = ucgLinkMan.GroupLinkManHomeTelephone;
                this.TxtHandset.Text = ucgLinkMan.GroupLinkManHandset;
                this.TxtEmail.Text = ucgLinkMan.GroupLinkManEmail;
                this.TxtOicq.Text = ucgLinkMan.GroupLinkManOicq;
                this.TxtMSN.Text = ucgLinkMan.GroupLinkManMsn;
                this.TxtRemark.Text = ucgLinkMan.GroupLinkManRemark;
            }     
        }  
    }
    
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>ssssss</title>
    
     <link rel="Stylesheet" type="text/css" href="../../Styles/right_style.css" />
    <script type="text/javascript" src="../../Scripts/jquery.ui/js/jquery.js"></script>


    <style type="text/css">
<!--
html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
-->
</style>

</head>
<body>
    <%     
        Response.Buffer = true;
        Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
        Response.Expires = 0;
        Response.CacheControl = "no-cache";   
    %>
    <form id="form1" runat="server">
            <div class="sub_right_top">
    <div class="add_book_guanli1" align="left">联系人信息</div>
            <table width="97%" border="1" cellpadding="0" cellspacing="0" bordercolor="#72b0d8" 
                    style="border-collapse:collapse; text-align: left;" align="center">
          <tr bgcolor="#b1d5ef">
            <td colspan="2"><strong>分组</strong></td>

          </tr>
          
          <tr>
            <td width="170">分组：</td>
            <td width="597">
              <asp:TextBox ID="TxtGroupName" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
          </tr>
          <tr bgcolor="#b1d5ef">
            <td colspan="2"><strong>个人信息</strong></td>
          </tr>
          <tr>
            <td width="170">姓名：</td>

            <td>
             <asp:TextBox ID="TxtName" runat="server"  ReadOnly="True"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td width="170">性别：</td>
            <td>
              <asp:TextBox ID="TxtLinkManSec" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td width="170">生日：</td>

            <td>
              <asp:TextBox ID="TxtBirthday" runat="server"  ReadOnly="True"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td width="170">昵称：</td>
            <td>
              <asp:TextBox ID="TxtName2" runat="server"  ReadOnly="True"></asp:TextBox>

            </td>
          </tr>
          <tr>
            <td width="170">职务：</td>
            <td>
              <asp:TextBox ID="TxtDuty" runat="server"  ReadOnly="True"></asp:TextBox>
            </td>
          </tr>

          <tr bgcolor="#b1d5ef">
            <td colspan="2"><strong>联系方式(单位)</strong></td>
          </tr>
          <tr>
            <td width="170">单位名称：</td>
            <td>
             <asp:TextBox ID="TxtUnitName" runat="server"  ReadOnly="True"></asp:TextBox>
            </td>

          </tr>
          <tr>
            <td width="170">单位地址：</td>
            <td>
              <asp:TextBox ID="TxtUnitAddress" runat="server"  ReadOnly="True"></asp:TextBox>
            </td>
          </tr>
          <tr>

            <td width="170">单位电话：</td>
            <td>
              <asp:TextBox ID="TxtUnitTelephone" runat="server"  ReadOnly="True"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td width="170">单位传真：</td>
            <td>
            <asp:TextBox ID="TxtUnitFacsimile" runat="server"  ReadOnly="True"></asp:TextBox>
            </td>
          </tr>
          <tr bgcolor="#b1d5ef">
            <td colspan="2"><strong>联系方式(家庭)</strong></td>
          </tr>
          <tr>
            <td width="170">家庭住址：</td>

            <td>
              <asp:TextBox ID="TxtFamilyAddress" runat="server"  ReadOnly="True"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td width="170">家庭电话：</td>
            <td>
              <asp:TextBox ID="TxtFamilyTelephone" runat="server"  ReadOnly="True"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td width="170">手机：</td>
            <td>
              <asp:TextBox ID="TxtHandset" runat="server"  ReadOnly="True"></asp:TextBox>
            </td>
          </tr>

          <tr>
            <td width="170">电子邮件：</td>
            <td>
              <asp:TextBox ID="TxtEmail" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td width="170">QQ号码：</td>

            <td>
              <asp:TextBox ID="TxtOicq" runat="server"  ReadOnly="True"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td width="170">MSN号码：</td>
            <td>
              <asp:TextBox ID="TxtMSN" runat="server"  ReadOnly="True"></asp:TextBox>

            </td>
          </tr>
          <tr bgcolor="#b1d5ef">
            <td colspan="2"><strong>备注</strong></td>
          </tr>
          <tr>
            <td colspan="2">
              <asp:TextBox ID="TxtRemark" runat="server" Width="100%" Height="97px" TextMode="MultiLine"  ReadOnly="True"
                       ></asp:TextBox>
            </td>
          </tr>
        </table>
        <br />
    </div>
    </form>
</body>
</html>
